<div class="panel-body" >
    <form role="form" class="form-horizontal" id="userMsgForm"     >
        <input type="hidden" name="_token"         value="{{csrf_token()}}"/>
        <div class="form-group">
            <div class="col-sm-8 col-sm-offset-2">
                <p  id="com_message"  name="com_message"   ></p>
            </div>
        </div>

        <!-- 登录名 -->
        <div class="form-group">
            <label class="col-sm-2 control-label">{{trans("admin/message.username")}}:</label>
            <div class="col-lg-10">
                <input type="text"  class="form-control" disabled name="user_name" value="{{$userinfo->user_name}}"
                       required>
            </div>

        </div>
        <!-- 用户名 -->
        <div class="form-group">
            <label class="col-sm-2 control-label">{{trans("admin/message.nickname")}}:</label>
            <div class="col-lg-10">
                <input type="text"  class="form-control" min="2"
                       name="nick_name" value="{{$userinfo->nick_name}}"
                       required>
            </div>

        </div>
        <!-- 邮箱 -->
        <div class="form-group">
            <label class="col-sm-2 control-label">{{trans("admin/message.email")}}</label>
            <div class="col-lg-10">
                <input type="email"   class="form-control" id="email"   name="email" value="{{$userinfo->email}}"
                       required>
            </div>

        </div>

        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2">
                <button class="btn btn-sm btn-primary" type="button" onclick="userinfo.saveMessage()"   ><strong>{{trans("admin/message.submit")}}</strong></button>
            </div>
        </div>
    </form>
</div>
